function stripeTables(){
	if(!document.getElementsByTagName) return false;
	var tables=document.getElementsByTagName("table");
	for(var i=0;i<tables.length;i++){
		 var odd=false;
		 var rows=tables[i].getElementsByTagName("tr");
		 for(var j=0;j<rows.length;j++){
		 	if(odd==true){
		 		addClass(rows[j],"odd");
		 		odd=false;
		 	}else{
		 		odd=true;
		 	}
		 }
	}
}

function highlightRows(){
	if(!document.getElementsByTagName) return false;
	var rows=document.getElementsByTagName("tr");
	for(var i=0;i<rows.length;i++){
		rows[i].oldClassName=rows[i].className;
		rows[i].onmouseover=function(){
			addClass(this,"highlight");
		}
		rows[i].onmouseout=function(){
			this.className=this.oldClassName;
		}
	}
}

function displayAbbreviations(){
	if(!document.getElementsByTagName || !document.createElement 
		|| !document.createTextNode) return false;
	var abbreviations=document.getElementsByTagName("abbr");
    if( abbreviations.length<1) return false;
    var defs=new Array();
    for(var i=0;i<abbreviations.length;i++){
        var current_abbr=abbreviations[i];
        if(current_abbr.childNodes.length<1) continue;
        var definition=current_abbr.getAttribute("title");
        var key=current_abbr.lastChild.nodeValue;
        defs[key]=definition;
    }
    var dlist=document.createElement("dl");
    for(key in defs){
    	var definition=defs[key];
    	var dtitle=document.createElement("dt");
    	var dtitle_text=document.createTextNode(key);
    	dtitle.appendChild(dtitle_text);
    	var ddesc=document.createElement("dd");
    	var ddesc_text=document.createTextNode(definition);
    	ddesc.appendChild(ddesc_text);
    	dlist.appendChild(dtitle);
    	dlist.appendChild(ddesc);
    }
    if(dlist.childNodes.length<1) return false;
    var header=document.createElement("h3");
    var header_text=document.createTextNode("abbreviations");
    header.appendChild(header_text);
    var container=document.getElementById("content");
    container.appendChild(header);
    container.appendChild(dlist);
}